package cn.edu.cqut.test0409;

class Atom {
	Atom() {
		System.out.print("atom ");
	}
}

class Rock extends Atom {
	Rock(String type) {
		System.out.print(type);
	}
}

public class Main extends Rock {
	public Main() {
		super("granite ");
		new Rock("granite ");
	}
	public static void main(String[] a) {
		new Main();
	}
}
